/*	The 'Hello World' program of the m algorithmic music composition
	language. Plays middle C. */
	
void main()
{
	note n;
	chord c;
	staff s;
	part p;
	
	n.pitch = C4;		// set the note, middle C
	n.duration = 1.0;
	n.intensity = 100;
	
	s.instrument = 0;
	
	p.bpm = 60;
	p.beatsig = 0.25;
	
	add(c, n);
	add(s, c);
	add(p, s);
	
	play(p);
}